package com.company.project.dao;

import com.company.project.core.Mapper;
import com.company.project.model.TradeGoods;

public interface TradeGoodsMapper extends Mapper<TradeGoods> {
	/**
	 * 减库存
	 * 
	 * @param tradeGoods
	 * @return
	 */
	int reduceGoodsNumber(TradeGoods tradeGoods);

	int addGoodsNumber(TradeGoods tradeGoods);
}